<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<h3>"Log Out" subview</h3>
<s:form name="logoutForm" method="get" action="loginPortlet" namespace="/nonajax">
	<div style="color:red;">
	<s:property value="%{'Current user:'}"/>
	<strong><s:property value="%{#session.USER}"/></strong><br/>
	</div>
	<s:submit name="logoutEvent" value="Log Out"/> <br/>
	<s:url var="logout" action="loginPortlet" namespace="/nonajax">
		<s:param name="logoutEvent" /> 
		<s:param name="portletReloadAddr" value="%{#request.portletReloadAddr}"/>
	</s:url>
	<s:a href="%{logout}" >Log out via link</s:a><br/>
</s:form>
